package com.zja.service;

import com.zja.model.User;

/**
 * @author JA
 * @date: 2025/5/2
 * description:
 */
public interface UserService {

    User login(String username, String password);

    boolean register(User user);

    User findById(Long id);

    User findByUsername(String username);

    User findByEmail(String email);
}
